let http=require("http");
http.createServer((req,res)=>{
    res.writeHead(200, { "Content-Type": "text/html;charset=utf-8" });
    if(req.url=="/favicon.ico")return;
        console.log("请求成功");
        res.end('');


}).listen(8000,()=>{
    console.log("http://localhost:8000");
})